package com.molichuxing.gateway.bff.order.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class OrderEnterpriseListVo extends ResponseRootDto {
    private static final long serialVersionUID = -3924863671382218647L;

    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    @ApiModelProperty(value = "企业ID")
    private Integer enterpriseId;

    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    @ApiModelProperty(value = "租期")
    private Integer tenancy;

    @ApiModelProperty(value = "还款周期")
    private Integer repaymentPeriod;

    @ApiModelProperty(value = "起租日")
    private LocalDate leaseInception;

    @ApiModelProperty(value = "合同签订日")
    private LocalDate contractDate;

    @ApiModelProperty(value = "租赁截止日")
    private LocalDate leaseExpire;

    @ApiModelProperty(value = "订单状态")
    private Integer state;

    @ApiModelProperty(value = "订单状态（1：待付款，2：待交车，3：待起租，已交车）")
    private String stateStr;

    @ApiModelProperty(value = "车辆数")
    private Integer vehicleCount;

    @ApiModelProperty(value = "显示金额")
    private String displayAmount;

    @ApiModelProperty(value = "总金额")
    private String totalAmount;

    @ApiModelProperty(value = "（在租数/退租数/过户数）(待交车数)")
    private String vehicleStateCount;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "父订单号")
    private Long prentOrderCode;

    /**
     * 续租展示状态（0:展示，1:置灰，2:隐藏）
     */
    @ApiModelProperty(value = "续租展示状态（0:展示，1:置灰，2:隐藏）")
    private Integer suborderState;

    /**
     * 交车时间，（单独用于车辆列表详情显示企业订单用)
     */
    @ApiModelProperty(value = "交车时间")
    private LocalDateTime handoverTime;


}